@import '../../scss/variable';
@import '../../scss/mixin';
.featured{
  padding: 30px 0;
  &.bg-color{
    background-color: #F7F8FA;
  }
  .features-title{
    text-align: center;
    margin-bottom: 35px;
  }
  .lead{
    font-size: 16px;
    color: #666;
    text-align: center;
  }
}
.headbanner{
  height: 300px;
  background: url('../../images/hosting_banner.jpg') no-repeat center center;
  h1{
    text-align: center;
    line-height: 300px;
    font-weight: 400;
    color: #fff;
  }
}
.tabmenu{
  text-align: center;
  background-color: #F7F8FA;
  .tab-nav{
    display: inline-block;
    font-size: 0;
    margin-top: -20px;
    box-shadow: 0 2px 5px 2px rgba(0,0,0,.2);
    li{
      display: inline;
      a{
        display: inline-block;
        padding: 16px 60px;
        font-size: 16px;
        color: #474e53;
        background-color: #fff;
        transition: all .25s ease-in-out;
        &:hover{
          color: $theme;
        }
      }
      &.active{
        a{
          color: #fff;
          background-color: $theme;
          font-weight: 600;
        }
      }
    }
  }
}
.host-item{
  margin: 30px 0;
  .item-title{
    text-align: center;
  }
}
.recommend-host-list{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0;
  .ui-card{
    width: 380px;
    background-color: #fff;
    border-top: 5px solid #666;
    border-radius: 4px;
    &:hover{
      border-color: $theme;
    }
    .brief{
      font-size: 0;
      padding-bottom: 20px;
      li{
        display: inline-block;
        width: 33.33333333%;
        box-sizing: border-box;
        text-align: center;
        &:nth-child(2){
          border-left: 1px solid #d7d8d9;
          border-right: 1px solid #d7d8d9;
        }
        p{
          font-size: 12px;
          &.strong{
            font-weight: 600;
          }
        }
      }
    }
    .card-header{
      text-align: center;
    }
    .card-name{
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 5px;
    }
    .larger-text{
      font-size: 22px;
      color: $theme;
    }
    .card-content{
      padding-top: 0;
    }
    .list-group{
      padding: 20px 20px 0 20px;
      font-size: 12px;
      border-top: 1px dotted #ccc;
      dt{
        float: left;
        font-weight: 600;
      }
      dd{
        padding-left: 75px;
        margin-bottom: 10px;
      }
    }
    .card-footer{
      text-align: center;
    }
    .buy-button{
      padding-left: 35px;
      padding-right: 35px;
      background-color: $theme;
      &:hover{
        background-color: darken($theme, 5%);
      }
    }
  }
}
.scrollspy-nav{
  position: relative;
  height: 50px;
  .scrollspy-nav-inner{
    height: 50px;
    text-align: center;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
    &.affix{
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 2;
    }
    a{
      display: inline-block;
      padding: 15px 0;
      margin: 0 15px;
      line-height: 19px;
      border-bottom: 2px solid transparent;
      &.active{
        border-bottom: 2px solid $theme;
      }
    }
  }
}
.row{
  display: flex;
  margin: 40px 0;
  justify-content: space-between;
  .col-3{
    flex: 0 0 215px;
  }
  .text-center{
    text-align: center;
  }
  .col-4{
    flex: 0 0 320px;
    .left-icon{
      float: left;
      .fa{
        font-size: 32px;
        color: #757575;
      }
    }
    .right-text{
      padding-left: 50px;
    }
    p{
      text-align: justify;
      color: rgba(0, 0, 0, 0.56);
    }
    .circle{
      width: 90px;
      height: 90px;
      float: left;
      color: #fff;
      text-align: center;
      background-color: #263238;
      border-radius: 90px;
      .fa{
        line-height: 90px;
      }
    }
    .info{
      padding-left: 100px;
    }
  }
  .col-5{
    flex: 0 0 211px;
    .programs-img{
      width: 211px;
      height: 87px;
      background-image: url('../../images/programs_icons.jpg');
      @for $i from 1 to 11 {
        $j : $i - 1;
        $n : 87px * $j * (-1);
        &.programs-#{$i}{
          background-position: 0px $n;
        }
      }
    }
  }
}
.desc-img{
  width: 215px;
  height: 130px;
  margin: 0 auto 10px auto;
  background-image: url('../../images/advantage-icon.jpg');
  @for $i from 1 to 5 {
    &.desc-img-#{$i}{
      $j: $i - 1;
      background-position: $j * 215 * -1px 0;
    }
  }
}
.faq-list-group{
  li{
    padding: 20px 0;
    border-top: 1px dotted #CFD8DC;
    &:first-child{
      border-top: none;
    }
    h4{
      margin-bottom: 10px;
    }
    p{
      padding: 10px 0 10px 20px;
      color: #666;
      text-align: justify;
      border-left: 5px solid #CFD8DC;
      .strong, a{
        color: darken($theme, 10%);
      }
      a{
        &:hover{
          text-decoration: underline;
        }
      }
    }
  }
}
.more-faq{
  text-align: center;
  margin-bottom: 50px;
  .button{
    padding-left: 30px;
    padding-right: 30px;
    border-color: $theme;
    color: $theme;
    &:hover{
      background-color: $theme;
      color: #fff;
    }
  }
}